package com.yuyou.fn.educational.service;

import com.github.wens.mybatisplus.plugins.Page;
import com.yuyou.fn.educational.entity.Campus;
import com.github.wens.framework.service.ISuperService;
import com.yuyou.fn.educational.vo.CampusCondVo;
import com.yuyou.fn.educational.vo.CampusQueryVo;
import com.yuyou.fn.educational.vo.CampusSaveOrUpdateVo;

import java.util.List;
import java.util.Map;

/**
 *
 * Campus 表数据服务层接口
 *
 */
public interface ICampusService extends ISuperService<Campus,Long> {


    Page<Campus> findCampusByQueryForPage(CampusQueryVo campusQueryVo, int pageNo, int pageSize);

    void saveOrUpdateCampus(CampusSaveOrUpdateVo campusSaveOrUpdateVo);

    void deleteCampus(Long campusId);

    String findCampusNameByCampusId(Long campusId);

    List<Campus> findCampusByCityOrderByDistrict(String city);

    List<CampusCondVo> findCampusCond(String city);

    List<Campus> findCampusByCity(String city);

}